import request from '@/utils/request'
// 查询报告水印
export const getreportandshuiyinapi = companyId => request.get(`sst-microservice-biz/sst/report/set/content?companyId=${companyId}`)
// 新增水印报告
export const postzenjiashuiyinapi = data => request.post('sst-microservice-biz/sst/report/set/add', data)
// 修改水印报告
export const postupdateshuiyinapi=data=>request.post('sst-microservice-biz/sst/report/set/update', data)
// 新增logo 
export const postaddlogoapi=(companyId,data)=>request.post(`sst-microservice-biz/sst/report/set/logo/add?companyId=${companyId}`, data,
  { headers: { 'Content-Type': 'multipart/form-data' } })
// 修改logo
export const postputlogoapi=(companyId,data)=>request.post(`sst-microservice-biz/sst/report/set/logo/update?companyId=${companyId}`, data,
  { headers: { 'Content-Type': 'multipart/form-data' } })
// 新增公众号二维码
export const postpostgongzongapi=(companyId,data)=>request.post(`sst-microservice-biz/sst/report/set/public/add?companyId=${companyId}`, data,
  { headers: { 'Content-Type': 'multipart/form-data' } })
// 修改公众号二维码
export const postputgongzongapi=(companyId,data)=>request.post(`sst-microservice-biz/sst/report/set/public/update?companyId=${companyId}`, data,
  { headers: { 'Content-Type': 'multipart/form-data' } })
  // 修改小程序二维码
export const postputchengxuapi=(companyId,data)=>request.post(`sst-microservice-biz/sst/report/set/mini/program/update?companyId=${companyId}`, data,
  { headers: { 'Content-Type': 'multipart/form-data' } })
    // 新增小程序二维码
export const postpostchengxuapi=(companyId,data)=>request.post(`sst-microservice-biz/sst/report/set/mini/program/add?companyId=${companyId}`, data,
  { headers: { 'Content-Type': 'multipart/form-data' } })